Dew Stats for .NET
|
Logistic regression.
Parameters |
Description |
[In] TVec y |
response vector containing binomial counts. |
[In] TVec n |
number of trials for each count. Y is assumed to be binomial(p,N). |
[In] TVec b |
regression parameter estimates. |
[In] TMtx A |
matrix of covariates, including the constant vector if required. |
double Offset |
offset if required. |
[In] TVec YCalc |
fitted values. |
[In] TVec BStd |
Regression parameter estimates errors.This is an estimate of the precision of the B estimates. |
double Tolerance |
Default precision for reweighted LQR. |
Fit logistic regression model.
The following example calculates coefficients for simple logistic regression. The counts are out of 10 in each case and there is one covariate[1].
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|